{config_load file=global.conf}
{config_load file="_map_list.conf" section="`$lang`"}

<form method="post" id="form_map_select">
<table border="0" class="form" cellpadding="0" cellspacing="0" height="38"><tr>
  {if $select.mapcaption}
  <td align="left" valign="middle">
  <nobr>&nbsp;&nbsp;<label for="{$select.name}"><b>{$select.mapcaption}</b></label>&nbsp;</nobr>
 </td>
 {/if}
 <td width="15"><img src="{#images_dir#}/sys_arrow1.gif" /></td>
 <td align="left" valign="middle" style="background-color: #DFDFDF">&nbsp;
 <select  width="100%" id="id_{$select.name}" name="{$select.name}"
 onchange="document.getElementById('form_map_select').submit()"
 class="selectMegawide">
 	{assign var="undline" value="_"}
  {section name=item loop=$select.list}

	{assign var="mapname" value=$select.list[item].NameConstant}
	{assign var="maplist" value="_map_list__"}
	{assign var="mapnameconst" value=$maplist$mapname}

  	{assign var="sid" value=$select.list[item].SystemID}
  	{assign var="pid" value=$select.list[item].ID}
  	{assign var="lot" value=$select.list[item].CalcLot}
  	{assign var="dep" value=$select.list[item].CalcDeposit}
  	{assign var="lev" value=$select.list[item].CalcLeverage}
  	{assign var="currentValue" value=$pid$undline$sid$undline$lot$undline$dep$undline$lev}

  	 {*if $select.list[item].name == "IntelliForex IntraDay"*}
     <option value="{$select.list[item].ID}_{$select.list[item].SystemID}_{$select.list[item].CalcLot}_{$select.list[item].CalcDeposit}_{$select.list[item].CalcLeverage}"
     {if $currentValue==$select.value } selected {/if}>{*$select.list[item].NameConstant*}{$smarty.config.$mapnameconst} {*$select.mapsuffix*}</option>
     {*/if*}
  {/section}
 </select>

 {*<input name="btn_sbmt" type="submit" value="OK">*}
&nbsp;</td>
<td width="14"><img src="{#images_dir#}/sys_arrow2.gif" /></td>
</tr>
</table>
 <input name="calcDeposit" id="calcDeposit" type="hidden" value="{$select.current.deposit}">
 <input name="calcLot" id="calcLot" type="hidden" value="{$select.current.lot}">
 <input name="calcLeverage" id="calcLeverage" type="hidden" value="{$select.current.leverage}">


</form>
